package com.leyou.search.service;

import com.leyou.pojo.dto.SpuDTO;
import com.leyou.search.pojo.Goods;

public interface IndexService {

    //将数据导入索引库中
    void loadData();

    //将spuDTO转换为Goods
    Goods buildGoods(SpuDTO spuDTO);
}
